﻿using MangoMes.Commont.Domain.Suppliers;
using MangoMes.Commont.DTOs;
using MediatR;

namespace ManagoMes.Read.API.Applications.SupplierSearch
{
    public class SupplierSearchCommand:IRequest<PageDTO<SupplierDTO>>
    {
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string?SupplierNo { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string?SupplierName { get; set; }
        /// <summary>
        /// 供应商简称
        /// </summary>
        public string?SupplierShort { get; set; }
        /// <summary>
        /// 供应商英文名称
        /// </summary>
        public string?SupplierEnglishName { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int SupplierIsNo { get; set; } //0 = 禁用，1=启用
        public int pageIndex {  get; set; }
        public int pageSize { get; set; }
    }
}
